package com.adcc.loadsheet.movingdata.vo;


import com.adcc.loadsheet.movingdata.entity.ScUpDataEntity;

import java.util.Date;

/**
 * 舱单表实体VO
 * Created by zhaoml on 2020/4/27.
 */
public class ScUpDataEntityVO extends BasisVO<ScUpDataEntity> {
    private Integer id;   //主键ID
    private String upType;
    private String airline;
    private String content;
    private Date createTime;  //创建时间
    private String customData;
    private String dataSource;
    private String des;
    private String fi;
    private String an;
    private Integer lastAutoAckState;
    private Date lastAutoAckTime;
    private Integer lastManuAckState;
    private Date lastManuAckTime;
    private Integer locked;
    private Integer sendNum;
    private Date sendTime;
    private String sendUserId;
    private Integer state;
    private Integer successNum;
    private String tko;
    private String rawContent;
    private Integer failNum;
    private String newContent;
    private String extendedPropertys;
    private String Version;
    private String modifyUserId;
    private Date modifyTime;
    private Date loadsheetBuildTime;
    private String PASSENGER_NO;

    @Override
    public ScUpDataEntity toEntity() {
        ScUpDataEntity airportEntity = new ScUpDataEntity();
        airportEntity.setId(this.id);
        airportEntity.setUpType(this.upType);
        airportEntity.setAirline(this.airline);
        airportEntity.setContent(this.content);
        airportEntity.setCreateTime(this.createTime);
        airportEntity.setCustomData(this.customData);
        airportEntity.setDataSource(this.dataSource);
        airportEntity.setDes(this.des);
        airportEntity.setFi(this.fi);
        airportEntity.setAn(this.an);
        airportEntity.setLastAutoAckState(this.lastAutoAckState);
        airportEntity.setLastAutoAckTime(this.lastAutoAckTime);
        airportEntity.setLastManuAckState(this.lastManuAckState);
        airportEntity.setLastManuAckTime(this.lastManuAckTime);
        airportEntity.setLocked(this.locked);
        airportEntity.setSendNum(this.sendNum);
        airportEntity.setSendTime(this.sendTime);
        airportEntity.setSendUserId(this.sendUserId);
        airportEntity.setState(this.state);
        airportEntity.setSuccessNum(this.successNum);
        airportEntity.setTko(this.tko);
        airportEntity.setRawContent(this.rawContent);
        airportEntity.setFailNum(this.failNum);
        airportEntity.setNewContent(this.newContent);
        airportEntity.setExtendedPropertys(this.extendedPropertys);
        airportEntity.setVersion(this.Version);
        airportEntity.setModifyUserId(this.modifyUserId);
        airportEntity.setModifyTime(this.modifyTime);
        airportEntity.setLoadsheetBuildTime(this.loadsheetBuildTime);
        airportEntity.setPASSENGER_NO(this.PASSENGER_NO);
        return airportEntity;
    }

    @Override
    public String toJSON() {
        return null;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUpType() {
        return upType;
    }

    public void setUpType(String upType) {
        this.upType = upType;
    }

    public String getAirline() {
        return airline;
    }

    public void setAirline(String airline) {
        this.airline = airline;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCustomData() {
        return customData;
    }

    public void setCustomData(String customData) {
        this.customData = customData;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getFi() {
        return fi;
    }

    public void setFi(String fi) {
        this.fi = fi;
    }

    public String getAn() {
        return an;
    }

    public void setAn(String an) {
        this.an = an;
    }

    public Integer getLastAutoAckState() {
        return lastAutoAckState;
    }

    public void setLastAutoAckState(Integer lastAutoAckState) {
        this.lastAutoAckState = lastAutoAckState;
    }

    public Date getLastAutoAckTime() {
        return lastAutoAckTime;
    }

    public void setLastAutoAckTime(Date lastAutoAckTime) {
        this.lastAutoAckTime = lastAutoAckTime;
    }

    public Integer getLastManuAckState() {
        return lastManuAckState;
    }

    public void setLastManuAckState(Integer lastManuAckState) {
        this.lastManuAckState = lastManuAckState;
    }

    public Date getLastManuAckTime() {
        return lastManuAckTime;
    }

    public void setLastManuAckTime(Date lastManuAckTime) {
        this.lastManuAckTime = lastManuAckTime;
    }

    public Integer getLocked() {
        return locked;
    }

    public void setLocked(Integer locked) {
        this.locked = locked;
    }

    public Integer getSendNum() {
        return sendNum;
    }

    public void setSendNum(Integer sendNum) {
        this.sendNum = sendNum;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(String sendUserId) {
        this.sendUserId = sendUserId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getSuccessNum() {
        return successNum;
    }

    public void setSuccessNum(Integer successNum) {
        this.successNum = successNum;
    }

    public String getTko() {
        return tko;
    }

    public void setTko(String tko) {
        this.tko = tko;
    }

    public String getRawContent() {
        return rawContent;
    }

    public void setRawContent(String rawContent) {
        this.rawContent = rawContent;
    }

    public Integer getFailNum() {
        return failNum;
    }

    public void setFailNum(Integer failNum) {
        this.failNum = failNum;
    }

    public String getNewContent() {
        return newContent;
    }

    public void setNewContent(String newContent) {
        this.newContent = newContent;
    }

    public String getExtendedPropertys() {
        return extendedPropertys;
    }

    public void setExtendedPropertys(String extendedPropertys) {
        this.extendedPropertys = extendedPropertys;
    }

    public String getVersion() {
        return Version;
    }

    public void setVersion(String version) {
        Version = version;
    }

    public String getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(String modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getLoadsheetBuildTime() {
        return loadsheetBuildTime;
    }

    public void setLoadsheetBuildTime(Date loadsheetBuildTime) {
        this.loadsheetBuildTime = loadsheetBuildTime;
    }

    public String getPASSENGER_NO() {
        return PASSENGER_NO;
    }

    public void setPASSENGER_NO(String PASSENGER_NO) {
        this.PASSENGER_NO = PASSENGER_NO;
    }
}